package com.example.design.shejimoshi.structure.qiaojie.improve;

import com.example.design.shejimoshi.structure.qiaojie.反例.NotificationEmergencyLevel;
import com.example.design.shejimoshi.structure.qiaojie.improve.sender.MsgSender;


/**
 * 维度一
 *
 */
public abstract class Notification {
    /**
     * 将维度二组合进来
     */
    MsgSender msgSender;

    public Notification(MsgSender msgSender) {
        this.msgSender = msgSender;
    }

    public abstract void notify(String message);

    public abstract NotificationEmergencyLevel getLevel();
}
